package com.itqf.dao;

import com.itqf.entity.Product;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/9/23
 * @Time: 下午5:27
 */
public interface ProductDao1 {

    /**
     * <select id="findAll">
     *
     *    </select>
     * @return
     */
    @Select(" select p_id as pid,p_name as pname ,p_time as ptime,p_info as pinfo,p_price as pprice,\n" +
            "        p_state as pstate,p_image as pimage from product")
    public List<Product> findAll();
}
